package com.xiang.entity;

import java.util.List;

import com.xiang.constant.Url;
import com.xiang.utils.Sign;

import cn.edu.fzxy.zxy.niceday.utils.RequestParameter;

public class GetCitiesEntity extends BaseEntity {

	@Override
	public String getUrl() {
		this.url = Url.get_cities;
		System.out.println("#########GetCitiesEntity url:"+this.url);
		return this.url;
	}

	@Override
	public String getSendData() {
		System.out.println("#########GetCitiesEntity sendData:"+this.sendData);
		return this.sendData;
	}

	@Override
	public List<RequestParameter> getParameterList() {
		super.initParameterList();
		parameterList.add(new RequestParameter("sign", getSign()));
		return this.parameterList;
	}

	@Override
	public String getSign() {
		sign = Sign.sign(appKey, secret, paramMap);
		System.out.println("##########sign: "+sign);
		return sign;
	}

}
